﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Fashion.Master" Inherits="System.Web.Mvc.ViewPage<Fashion.Models.Product>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%=Model.Name %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="product-detail radius-5px" >
        <div class="thumb">
            <img src="<%=Model.ProductImages.FirstOrDefault(i=>i.IsMain).FilePath %>" alt="Alternate Text" width="300px" height='300px' />
        </div>
        <p><%=Model.Name %></p>
    </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SubContent" runat="server">
    <%Html.RenderAction("UsrCategory","Base"); %>
</asp:Content>
